<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>阿里百秀-发现生活，发现美!</title>
  <link rel="stylesheet" href="assets/css/style.css">
  <link rel="stylesheet" href="assets/vendors/font-awesome/css/font-awesome.css">
  <script src="./assets/vendors/art-template/template-web.js"></script>
</head>

<body>
  <div class="wrapper">
    <!-- 头部导航 -->
    <div class="topnav">
      <ul>
        <li><a href="javascript:;"><i class="fa fa-glass"></i>奇趣事</a></li>
        <li><a href="javascript:;"><i class="fa fa-phone"></i>潮科技</a></li>
        <li><a href="list.html"><i class="fa fa-fire"></i>会生活</a></li>
        <li><a href="javascript:;"><i class="fa fa-gift"></i>美奇迹</a></li>
      </ul>
    </div>
    <!-- 左侧边 -->
    <div class="header">
      <h1 class="logo"><a href="index.html"><img src="assets/img/logo.png" alt=""></a></h1>
      <!-- 左侧边nav -->
      <ul class="nav">
        <li><a href="javascript:;"><i class="fa fa-glass"></i>奇趣事</a></li>
        <li><a href="javascript:;"><i class="fa fa-phone"></i>潮科技</a></li>
        <li><a href="list.html"><i class="fa fa-fire"></i>会生活</a></li>
        <li><a href="javascript:;"><i class="fa fa-gift"></i>美奇迹</a></li>
      </ul>
      <!-- 左侧搜索 -->
      <div class="search">
        <form>
          <input type="text" class="keys" placeholder="输入关键字">
          <input type="submit" class="btn" value="搜索">
        </form>
      </div>
    </div>
    <!-- 右侧边 -->
    <div class="aside">
      <!-- 右侧边搜索 -->
      <div class="widgets">
        <h4>搜索</h4>
        <div class="body search">
          <form>
            <input type="text" class="keys" placeholder="输入关键字">
            <input type="submit" class="btn" value="搜索">
          </form>
        </div>
      </div>
      <!-- 右侧随机推荐 -->
      <div class="widgets">
        <h4>随机推荐</h4>
        <ul class="body random">
        </ul>
      </div>
      <!-- 右侧最新评论 -->
      <div class="widgets">
        <h4>最新评论</h4>
        <!-- 引用模板引擎获取最新评论 -->
        <ul class="body discuz">
        </ul>
      </div>
    </div>
    <!-- 中间 -->
    <div class="content">
      <!-- 轮播 -->
      <div class="swipe">
        <ul class="swipe-wrapper" id="slidesBox">

        </ul>
        <p class="cursor"><span class="active"></span><span></span><span></span><span></span></p>
        <a href="javascript:;" class="arrow prev"><i class="fa fa-chevron-left"></i></a>
        <a href="javascript:;" class="arrow next"><i class="fa fa-chevron-right"></i></a>
      </div>
      <!-- 热门推荐  -->
      <div class="panel hots">
        <h3>热门推荐</h3>
        <!-- 引用模板引擎 -->
        <ul class="tuijian">
        </ul>
      </div>
      <!-- 最新发布 -->
      <div class="panel new">
        <h3>最新发布</h3>
        <!-- 引用模板引擎 -->
        <div class="entry">
        </div>


      </div>
    </div>
    <!-- 底部 -->
    <div class="footer">
      <p>© 2016 XIU主题演示 本站主题由 themebetter 提供</p>
    </div>
  </div>


  <!-- 轮播图模板 -->
  <script type="text/html" id="slidesTpl">
    {{each data}}
    <li>
      <a href="#">
        <img src={{$value.image}}>
        <span>{{$value.title}}</span>
      </a>
    </li>
{{/each}}
  </script>
  <!-- 随机推荐模板 -->
  <script type="text/html" id="random">
{{each data}}
<li>
  <a href="javascript:;">
    <p class="title">{{$value.title}}</p>
    <p class="reading">阅读({{$value.meta.comments}})</p>
    <div class="pic">
      <img src="" alt="">
    </div>
  </a>
</li>
{{/each}}
</script>
  <!-- 最新发布评论模板 -->
  <script type="text/html" id="comment">
    {{each data}}
    <li>
      <a href="javascript:;">
        <div class="avatar">
          <img src={{$value.avatar}} alt="">
        </div>
        <div class="txt">
          <p>
            <span></span>{{$value.createAt|dataFormat}}说:
          </p>
          <p>{{$value.content}}</p>
        </div>
      </a>
    </li>
    {{/each}}
  </script>
  <!-- 热门推荐模板 -->
  <script type="text/html" id="hot">
{{each data}}
<li>
  <a href="javascript:;">
    <img src="uploads/hots_2.jpg" alt="">
    <span>{{$value.title}}</span>
  </a>
</li>
{{/each}}
</script>
  <!-- 最新发布文章模板 -->
  <script type="text/html" id="art">
  {{each data}}
  <div class="head">
    <span class="sort">{{$value.title}}</span>
    <a href="javascript:;">{{$value.title}}</a>
  </div>
  <div class="main">
    <p class="info"> 发表于 {{$value.updateAt|dataFormat}}</p>
    <p class="brief">
     {{$value.title}}
    </p>
    <p class="extra">
      <span class="reading">阅读({{$value.meta.views}})</span>
      <span class="comment">评论({{$value.meta.comments}})</span>
      <a href="javascript:;" class="like">
        <i class="fa fa-thumbs-up"></i>
        <span>赞({{$value.meta.likes}})</span>
      </a>
      <a href="javascript:;" class="tags">
        分类：<span>{{$value.title}}</span>
      </a>
    </p>
    <a href="javascript:;" class="thumb">
      <img src={{$value.meta.thumbnail}} alt="">
    </a>
  </div>
  {{/each}}
    </script>
  <script src="assets/vendors/jquery/jquery.min.js"></script>
  <script src="assets/vendors/swipe/swipe.js"></script>
  <script src="./assets/headJs/index.js"></script>
  <script src="./assets/headJs/common.js"></script>


</body>

</html>